/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GameEngine;
import java.util.List;
/**
 *
 * @author Nino
 */
public class MovePath {
    private List<Vector> path;
    private short id;
    public MovePath(short objectID)
    {
        id = objectID;
    }
    public MovePath(short objectID, Vector startPoint, Vector endPoint, Vector velocity)
    {
        id = objectID;
        Vector point = new Vector(startPoint);
//        for(int i = 0; i<velocity.magnitude(); i++)
//        {
//            addPoint(point.addNew())
//        }
    }
    public void addPoint(Vector p)
    {
        path.add(p);
    }
    public void stepPath()
    {
        path.remove(path.get(0));
    }
    public short getObjectID()
    {
        return id;
    }
    public List getPath()
    {
        return path;
    }
}
